<?php 	defined('_JEXEC') or die('Restricted access');	//九核模块，由【九木核心】开发制作：www.jmcore.com

	$n=2; //设置项名称中的最大编号，如有 v_100，则置：$n=100; 
	for ($i =0; $i <= $n; $i++)  $v[$i] = trim($params->get('v_'.$i));		//取得所有设置项的值

	if($v[0]) JFactory::getDocument()->addStyleDeclaration($v[0]); //添加补充样式，补充样式设置的名称固定为：name="v_0"
	$app = JFactory::getApplication();
	$t = $app->getTemplate(); //src="templates/$t/img/logo.gif"
	$p = jmcore::get_tpara();
	$addr		= $p[3];
	$worker		= $p[4];
	$beian		= $p[5];
?>
<div class="m_<?php echo $mid.' '.$mnm; ?>">
	<div id="footer">
		<ul><?php 
			$menu = $app->getMenu();
			$arr_item1 = $menu->getItems(array('menutype','level'),array('gsmenu',1));
			$arr_item2 = $menu->getItems(array('menutype','level'),array('eng',1));
			$arr_item3 = $menu->getItems(array('menutype','level'),array('oth',1));
			$arr_item = array_merge($arr_item1, $arr_item2, $arr_item3);
			foreach($arr_item as  $i=>$m){
					$id = $m->id;
					$tit = $m->title;
					$lk = JRoute::_('index.php?Itemid='.$id,false);
					echo '<li><a href="'.$lk.'" title="'.$tit.'">'.$tit.'</a></li>';
			}?>
		</ul>
		<p><?php echo $addr ; ?></p>
		<p><?php echo  $worker; ?></p>
		<p><a href="http://www.miibeian.gov.cn/" target="_blank"><?php echo $beian ; ?></a></p>
	</div>
</div>